package refactoring_guru.bridge.example2;

// Phone.java
public abstract class Phone {
	private Brand brand;//聚合
	
	public Phone(Brand brand) {
		this.brand = brand;
	}
	
	protected void open() {
		this.brand.open();
	}
	protected void close() {
		this.brand.close();
	}
	protected void call() {
		this.brand.call();
	}
}
